printfn "%A" (Array.filter (fun elem -> elem % 2 = 0) [| 1 .. 10|])